<script>
$(function() {
	$( "#ngaysinhgv" ).datepicker({
		
								showOtherMonths: true,
								selectOtherMonths: true,
								changeMonth: true,
								changeYear:true,
								yearRange:"-48",
								dateFormat: "dd-mm-yy",
								showOn: "both",
								
								//buttonImage:$('#root').val()+"img/calendar.gif",
								buttonImageOnly: true
	 							});
});

</script>

<div id="tabs">
	<ul>
        <li><?php echo $this->Html->link(__('Danh sách giảng viên', true), array('controller'=>'giangviens','action' => 'index')); ?></li>
        <li id="current"><?php echo $this->Html->link(__('Cập nhật thông tin giảng viên', true), array('action' => 'edit',$this->Form->value('Giangvien.id'))); ?></li>
	</ul>
 </div>


<div class="giangviens form">
<?php echo $this->Form->create('Giangvien');?>
	<fieldset>
		<legend><?php __('Sửa Thông Tin Giảng Viên'); ?></legend>
	<?php
		echo $this->Form->input('id');
		//echo $this->Form->input('user_id');
		echo $this->Form->input('msgv',array('label'=>'MSGV'));
		echo $this->Form->input('tenGV',array('label'=>'Họ Tên'));
		echo $this->Form->input('ngaySinhGV',array('id'=>'ngaysinhgv','type'=>'text','label'=>'Ngày Sinh'));
		echo $this->Form->input('gioiTinhGV',array('label'=>'Giới Tính'));
		//echo $this->Form->find('list'=> array('label'=>'Nam','label'=>'Nữ'));
		
	?>
	</fieldset>
<?php echo $this->Form->end(__('     Lưu    ', true));?>
</div>
<!--<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>

		<li><?php //echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Giangvien.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Giangvien.id'))); ?></li>
		<li><?php echo $this->Html->link(__('Ds Giang Viên', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('Ds Lớp HP', true), array('controller' => 'lophps', 'action' => 'index')); ?> </li>
		<li><?php //echo $this->Html->link(__('New Lophp', true), array('controller' => 'lophps', 'action' => 'add')); ?> </li>
	</ul>
</div>-->